<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="" method="post">
    {% csrf_token %}
    账号: <input type="text" name="username"> <br>
    密码: <input type="password" name="password"><br>
    确认密码: <input type="password" name="password"><br>
    <select name="name" id="">
        <option value="0">学生</option>
        <option value="1">老师</option>
    </select><br>
    <input type="submit" value="注册">
</form>
</body>
</html>